#ifndef __QyLoginDialog__
#define __QyLoginDialog__

#include <QtNetwork/QHostAddress>
#include <ui_LoginDialog.h>

class QpwLoginDialog : public QDialog, public Ui::LoginDialog {
    Q_OBJECT
public:
    explicit QpwLoginDialog( QWidget * parent = 0 );
    virtual ~QpwLoginDialog();

    QHostAddress host() const;
    QString username() const;
    QString passwordHash() const;

    int exec();

};

#endif//__QyLoginDialog__
